package net.tv90.bfmccore.event;

import lombok.Getter;
import org.bukkit.entity.Player;
import org.bukkit.event.Event;
import org.bukkit.event.HandlerList;

import java.util.HashMap;

public class RibbonUnlockEvent extends Event {
    private static final HandlerList Handlers = new HandlerList();
    private final @Getter String ribbonType;
    private final @Getter int ribbonCount;
    private final @Getter Player player;
    private final @Getter HashMap<String, Integer> ribbonMap;

    public RibbonUnlockEvent(String ribbonType, int ribbonCount, Player player, HashMap<String, Integer> map) {
        this.ribbonType = ribbonType;
        this.ribbonCount = ribbonCount;
        this.player = player;
        this.ribbonMap = map;
    }
    public static HandlerList getHandlerList() {
        return Handlers;
    }
    @Override
    public HandlerList getHandlers() {
        return Handlers;
    }
}
